package monitor;

import jess.JessException;

import monitor.basic.Monitor;
import monitor.inference.InferenceEngine;
import monitor.transmission.Receiver;

public class GuardianAngel extends Monitor {

	public GuardianAngel(int port) {
		super();
		try {
			String rule_file = "./monitor/inference/knowledge/human_knowledge.clp";
			InferenceEngine engine = new InferenceEngine(rule_file, null);
			this.setReceiver(new Receiver(this.recorder, 3412));
			this.setEngine(engine);
		} catch (JessException e) {
			e.printStackTrace();
		}
		this.start();
	}
}
